﻿// // ******************************************************************
// //       /\ /|       @file       SubtitleSegmentationData.cs
// //       \ V/        @brief      await29
// //       | "")       @author     Await, 285283010@qq.com
// //       /  |
// //      /  \\        @Modified   2024-12-31 20:12
// //    *(__\_\        @Copyright  Copyright (c) , 2024-12-24 18:12 Await
// // ******************************************************************

namespace AutomaticSubtitles.Contracts.Entity;

public class SubtitleSegmentationData
{
    public SubtitleSegmentationData()
    {
        TranslatedSegments = new List<string>();
        UntranslatedSegments = new Dictionary<int, string>();
        AllTranslated = true;
        UpdateTranslatedID = new List<string>();
    }


    /// <summary>
    ///     未翻译的单词
    /// </summary>
    public Dictionary<int, string> UntranslatedSegments { get; set; }

    /// <summary>
    ///     翻译过的单词
    /// </summary>
    public List<string> TranslatedSegments { get; set; }

    /// <summary>
    ///     原始判断
    /// </summary>
    public List<string> OriginalSegments { get; set; }

    /// <summary>
    ///     是否全部翻译
    /// </summary>
    public bool AllTranslated { get; set; }

    /// <summary>
    ///     触发到的需要更新的id
    /// </summary>
    public List<string> UpdateTranslatedID { get; set; }
}